package com.myFwk.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.myFwk.domain.SysRole;

/**
 * @Title:
 * @Description:
 * @Author: guowl
 * @version： 1.0
 * @Date:2021/9/2
 * @Copyright: Copyright(c)2021 RedaFlight.com All Rights Reserved
 */
public interface SysRoleService extends IService<SysRole> {

    /**
     * 判断一个用户是否是超级管理员
     *
     * @param userId
     * @return
     */
    boolean isSuperAdmin(Long userId);
}
